<?php

class Adept_Component_SelectItems extends Adept_Component_Base 
{
    
    protected $values;
    
    protected $valueProperty;
    protected $titleProperty;
    
    public function getValues() 
    {
        if (!is_null($this->values)) {
            return $this->values;
        }
        return $this->getValueOfBinding('values', array());
    }
    
    public function setValues($values) 
    {
        $this->values = $values;
    }
    
    public function getValueProperty() 
    {
        return $this->valueProperty;
    }
    
    public function setValueProperty($valueProperty) 
    {
        $this->valueProperty = $valueProperty;
    }
    
    public function getTitleProperty() 
    {
        return $this->titleProperty;
    }
    
    public function setTitleProperty($titleProperty) 
    {
        $this->titleProperty = $titleProperty;
    }
    
}
